home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 12 - 1996 / 12.08 Aug 96 / Shared Libes CPX / Example Libraries / C++ Lib Example / Headers / OOSharedLibStructs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-03-11  |  519 b   |  25 lines  |  [TEXT/MPCC]

  1. #ifndef TAN_LIB_STRUCTS_H
  2. #define TAN_LIB_STRUCTS_H
  3. /*
  4.     © 1995 Tangent Systems
  5.     All Rights Reserved.
  6.     
  7.     Public declarations for interface structures.
  8.     Putting these declarations in a separate header makes it easier when it
  9.     comes time to use Prograph C Tool to define these strcutures for use
  10.     in CPX.
  11. */
  12.  
  13. #pragma pgtype double Real8
  14. #pragma pgtype int Int4
  15. #pragma pgtype    unsigned Nat4
  16.  
  17. typedef struct {
  18.                     unsigned long length;
  19.                     int    success;
  20.                     double result;
  21.                     double *data;
  22.  
  23.                 } data_cache;
  24.                 
  25. #endif